<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String activity_id=request.getParameter("activity_id");
String user_id=request.getParameter("user_id");
String activity_name=request.getParameter("activity_name");
if(activity_name==null)activity_name="名称：错误，活动名称未知";
String activity_start_time=request.getParameter("activity_start_time");
if(activity_start_time==null)activity_start_time="活动时间：活动时间未知";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head> 
    <title>活动预约成功</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
    <style type="text/css">
        .box{width:400px;height:400px;margin:0 auto;
        border:1px solid #39b2e2;
        color:black;}

        #pic_true{
        	text-align:center;
        	display:block; margin:0 auto;
        }

        #activity_name{
        	margin:0 0 10px 10px;
	        color:#EC5F41;
        }
        #activity_start_time{
        	margin:0 0 10px 10px;
	        color:black;
        }
        #twobarcode{
        	display:block; margin:0 auto;
        }
        #hint{
        	margin:10px 0 0 10px;
        }
    </style>
  </head>
  <body>
    <div class="box">
    	<div id="pic_true">
	    	<img src="images/true.jpg" style="width=150px;height:100px;"/>
	    	<h2>恭喜您，活动预约成功</h2>
    	</div>
    	<h3 id="activity_name"><%=activity_name %></h3>
    	<h3 id="activity_start_time"><%=activity_start_time %></h3>
        
        <img id="twobarcode" src="printTwoBarCode.do?code=<%=basePath %>twobarcode/manager_login.jsp?activity_id=<%=activity_id %>%26user_id=<%=user_id %>">
    	<h4 id="hint">快截图保管此二维码吧，届时出示此二维码即可！</h4>
    </div>
    
  </body>
</html>